﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HexagonWeb.IBIL
{
    public interface InterfaceBaseService<T> where T :  class
    {

        //添加
        T Add(T entity);

        //更新
        bool Update(T entity);

        //删除
        bool Delete(T entity);


        //获取指定页数据
        IQueryable<T> PageList(IQueryable<T> entitys, int pageIndex, int pageSize);
    }
}